public class MethodDemo {
    public static int add(int n1,int n2){

            int sum=n1+n2;
            return sum;

    }

    public static void main(String[] args) {
        int sum=0;
        int add=add(5,9);
        System.out.println(sum);
    }
}
